function ErrorView(div) {

	this.render = function(title, message) {
		var errorHtml = '<table width="60%" class="content-panel table-layout"><tr class="error-title"><td>' + title + '</td></tr>' +
			'<tr class="error-message"><td>' + message + '</td></tr></table>';
		el(div).html(errorHtml);
		el(div).css('display', 'block');
	};

	this.hide = function() {
		el(div).css('display', 'none');
	}
};